#ifndef PROJECT01_H
#define PROJECT01_H
#include <iostream>
#include <string>
#include <Windows.h>

#define PS system("pause")
#define CLS system("cls")
#define COLOR system("color A")
#define TITLE system("TITLE KIEM TRA HOC KY - BAI 1")
using namespace std;

interface iCargoTransport
{
	void loadCargo();
};
class Vehice
{
private: string name;
public:
	string getName();
	string go();
	boolean isEngineOn();
	void startEngine();
	void stopEngine();

};
class Person
{
private: Vehice *v[100];
public: void addVehice(Vehice vh);
};
class Car : public Vehice
{
public: string go();
};

class Truck : public Vehice, iCargoTransport
{
public: string go();
		void loadCargo();
};
class Engine
{
public: boolean isOn();
		void start();
		void stop();
};
#endif